package io;

import cn.hutool.core.io.IoUtil;

import java.io.IOException;
import java.net.URL;

public class UrlUtils {
    public static void main(String[] args) throws IOException {
        String s = "https://vodpub1.v.news.cn/original/20200924/799a57031980476585522528a194e67e.mp4";
        URL url = new URL(s);
        byte[] b = IoUtil.readBytes(url.openStream());
        System.out.println(b);
    }
}
